package com.tianshuo.beta.sso.mapper;

import com.tianshuo.beta.sso.model.ServiceTicketDO;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface ServiceTicketMapper {
    int insert(ServiceTicketDO serviceTicketDO);
    ServiceTicketDO selectByServiceTicketId(@Param("serviceTicketId") String serviceTicketId);
    List<ServiceTicketDO> selectByTicketId(@Param("ticketId") String ticketId);
    int deleteByServiceTicketId(@Param("serviceTicketId") String serviceTicketId);
    int deleteByTicketId(@Param("ticketId") String ticketId);
    int updateByServiceTicketId(ServiceTicketDO serviceTicketDO);
}